import type { BaseResponseData } from '../trademark/type'
//定义Sku类型
export interface SkuRecord {
  id: number | string
  createTime: string
  updateTime: string
  spuId: number
  price: number
  skuName: string
  skuDesc: string
  weight: number
  tmId: number
  category3Id: number
  skuDefaultImg: string
  isSale: number
}

//定义sku返回列表类型
export interface SkuResponseData extends BaseResponseData {
  data: SkuRecord[]
}
//定义sku分页返回数据类型
export interface SkuResponsePageData extends BaseResponseData {
  data: {
    records: SkuRecord[]
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}

export interface SkuResponseInfoData extends BaseResponseData {
  data: SkuRecord
}
